//==============================================================================
// test_anim.txt
//==============================================================================
import Civ_statue_defines_anim.txt
import Construction_defines_anim.txt

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define Fire1
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Generic Fire Tiny
      }
   }  
}

//==============================================================================
define smoketiny
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Generic Smoke Small
      }
   }
}
//==============================================================================
define conf
{
   set hotspot
   {
      version
      {
         Visual Confucian Academy
	 ReplaceTexture confucian_academy/confucian_academyBlue
      }
   }
}

//==============================================================================
define conf2
{
   set hotspot
   {
      version
      {
         Visual Confucian Academy
	 
      }
   }
}


//==============================================================================
anim Idle
{
   SetSelector
   {
	TechLogic none/age 4
	SetSelector
	{
			setSelector
			{
				ConstructionLogic 0 33 66
				set hotspot
				{
					version
					{
						Visual Confucian Academy
						connect leftear smoketiny HOTSPOT
		  				connect rightear smoketiny HOTSPOT
                  				connect leftear fire1 HOTSPOT
		  				connect rightear fire1 HOTSPOT
		  				connect righthand statue hotspot
						ReplaceTexture confucian_academy/confucian_academyBlue
					}
				}
				set hotspot
				{
					version
					{
						Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
				}
				set hotspot
				{
					version
					{
						Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
				}
				set hotspot
				{
					version
					{
						Visual Building G ConstructionTemple
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
				}
			}
		}
	 SetSelector
	{
			setSelector
			{
				ConstructionLogic 0 33 66
				set hotspot
				{
					version
					{
						Visual Confucian Academy
						connect leftear smoketiny HOTSPOT
		  				connect rightear smoketiny HOTSPOT
                  				connect leftear fire1 HOTSPOT
		  				connect rightear fire1 HOTSPOT
		  				connect righthand statue hotspot
		  				ReplaceTexture World G Hades temple/World G Hades templeX
					}
				}
				set hotspot
				{
					version
					{
						Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
				}
				set hotspot
				{
					version
					{
						Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
				}
				set hotspot
				{
					version
					{
						Visual Building G ConstructionTemple
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
				}
			}
		}
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
	TechLogic none/age 4
	SetSelector
	{
	  set hotspot
      	  {
        	 version
       		  {
                 	 Visual GenericDestruction
               						connect FOREHEAD Conf hotspot
							connect Smoke1 Dust hotspot
							connect Smoke2 Dust hotspot
							connect Smoke3 Dust hotspot
                  	 connect leftear smoketiny HOTSPOT
			 connect rightear smoketiny HOTSPOT
                 	 connect leftear fire1 HOTSPOT
			 connect rightear fire1 HOTSPOT
			 
       		  }
          }
        }
	SetSelector
	{
	 set hotspot
      	 {
         	version
         	{
                  Visual GenericDestruction
               						connect FOREHEAD conf2 hotspot
							connect Smoke1 Dust hotspot
							connect Smoke2 Dust hotspot
							connect Smoke3 Dust hotspot
                  connect leftear smoketiny HOTSPOT
		  connect rightear smoketiny HOTSPOT
                  connect leftear fire1 HOTSPOT
		  connect rightear fire1 HOTSPOT
		  
		  
        	 }
     	 }
      }
   }
}